package com.lzy.cloud.ticket.train.servcie;

import com.lzy.cloud.ticket.train.dtos.TrainPassengerDto;

/**
 * Created by WIN7 on 2018/6/2.
 */
public interface TrainPassengerService {

    /**
     * 新增乘客信息
     * @param trainPassengerDto
     * @return
     */
    boolean  createTrainPassenger(TrainPassengerDto trainPassengerDto);


    /**
     * 更新乘客信息
     * @param trainPassengerDto
     * @return
     */
    boolean  updateTrainPassenger(TrainPassengerDto trainPassengerDto);
}
